package router

import (
	"github.com/labstack/echo/v4"
	"longmen/server/internal/api"
)

func initVideoRoute(group *echo.Group, base api.Controller, authFunc echo.MiddlewareFunc) {
	group.POST("/video/category", base.VideoCategory)
	group.POST("/video/suggestion", base.VideoSuggestion)
	group.POST("/video/random", base.VideoRandom)
	group.POST("/video/play", base.VideoPlay)
	group.POST("/video/search", base.VideoSearch)
	group.POST("/video/hot", base.VideoHot)
	group.POST("/video/hot_rank", base.VideoRank)
	group.POST("/video/like", base.VideoLike)
	group.POST("/video/share", base.VideoShare)
	group.POST("/video/reply_category", base.VideoReplyCategory)
	group.POST("/video/reply_list", base.VideoReplyList)
	group.POST("/video/reply_child_category", base.VideoReplyChildCategory)
}
